class RemoveHomePointSpreadAndAwayTeamSpreadAndAddPointSpreadAndWinTeamIdToMatches < ActiveRecord::Migration
  def self.up
    add_column :matches, :point_spread, :integer
    add_column :matches, :win_team_id, :integer
    remove_column :matches,:home_point_spread
    remove_column :matches,:away_point_spread
  end

  def self.down
    add_column :matches,:away_point_spread,:integer
    add_column :matches,:home_point_spread,:integer
    remove_column :matches, :win_team_id
    remove_column :matches, :point_spread
  end
end
